Enabled the dynamic construction of the WebSocket connection URL.

The UrlUtils.js contains a simple utility that takes the URL of the
page the WebSocket connection is established from, and constructs the
URL. The hard coded end-point URL now uses the makeUrl (service,
protocol) signature.