simplified WebSocketClient