Started work on WebSocket generic class