JSON-RPC over Websockets implementation.