add GET/POST HTTP name/value fields; urlencode field values