updating the url.parse to parse the query string too as some other middleware needs parsed query string