Handle blank headers in parse-headers.
Read Content-Type header via getResponseHeader because some versions
of Firefox don't return it via getAllResponseHeaders.