Return response headers with fetch()

This is different than issue #30 in that 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.

Issue #30 also doesn't appear to have been merged, unless I am looking at it wrong.