refactor response_headers to take HTTP::Headers