Implement WebSocket RPC transport, improve things.