Get the host for the request. bufp and offset must reference an
HTTP request header. A pointer to the host is returned and the length is stored
int pointed at by length. Note the returned text may not
be null terminated. The URL in the request is checked first then the
This is much faster than calling
extracting the host from the result.