If an error is being send, type of error.
Type of message sent to server.
Type of message sent to client.
Read one line from stream and deserialize the json value.
Serialize the json value and write as one line to stream.
Skip num objects on stream.
Message sent to server to call a function.
Message sent to client as response to a call if an error occured.
Message sent to client if an event occurs.
Message sent to client as response to a call if call was sucessfull.
Low level wire protocol for RPC.