Return response headers with fetch()

Issue #30 doesn't appear to have been merged. 

In addition, the http_parse_headers function here is a better implementation of parsing the headers - it accounts for a number of things that could be different about the headers.