Initial version of WebSocketClient class.