Derive the websocket url from the web page url.