Add ability to specify headers in "get"

A 3rd (optional) parameter has been added to the get function, to allow
the caller to specify a string to be included as http request headers.
If passed, this string should be a well formed string of headers, each
including a single CRLF line ending. The string will be sent verbatim,
followed by another CRLF to terminate the list of headers.