first draft of JSON-RPC2 server and client implementations. The goal is not
to be fully compliant, but to work on simple cases (no batch) with fully asynchronous request/answers
removed the Remote.message type; it should be replaced by JSON-RPC at some point