headers

builds a header string for HTTP requests