Created a rudimentary WebSocket client.