Make sure websocket uri is created using raw path and query