better url parsing, gets to websocket bring up