Client-side WebSocket mock for easy testing of Websocket clients