The server is expected to work on the following protocol:
COMMAND [KEY] [VALUE]\n
All fields can be put into double quotes " to allow spaces.
Double quotes inside a quoted string are escaped by a backslash \.
Responses are given as a newline \n terminated string.
The following error responses can be returned:
NOT FOUNDis returned byGETif the given KEY was not found.OKis returned bySETafter a KEY VALUE pair has been written.INVALID COMMANDis returned if the given COMMAND is not known or could not be parsed.
The following commands are supported:
GETreturns a VALUE for a given KEY. ExampleGET fooSETstores a VALUE for a given KEY. ExampleSET foo barQUITcloses the connection