Parse query parameters in Connect or Express