Setting up a client for a websocket echo server.

Check the console to see what actually happens.