Construct the web socket url