Correctly build the origin string if the request URL has query parameters
Correctly add the since_id parameter to the websocket URL, store the stream ID