WebSockets RPC-ish stuff