Created a websocket client.