Parse websocket url

fixed for parse like this "ws://example.com/?name=value"