RPC WebSocket is a wrapper for standard websockets that adds support for message types, RPC, and for before/after send/receive events.