The previous commit (3fd041a5) parsed the variables after the websocket request callback had been called. This commit calls the websocket request callback after parsing the query string.