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