updating the url.parse to parse the query string too as some other middleware uses that