Prepare for dispatching websocket RPC messages.