Generate proper url for non-ssl websocket connection