Decodes the response headers into the type ResH. Can be overridden to provide custom header decoding.