Setting up a client for a websocket broadcast server.

Check the console to see what actually happens.