code: function queryParser( req, res, next ) {
  	if ( !req.query ) {
  		var val = parseUrl( req ).query;
  		req.query = queryparse( val );
  	}
  	next();
  }
docs: Internal query-parsing middleware from express (not exposed, so copied here)