Case-insensitive handling of response headers (2.3.x)

@jroper @huntc backport of #2815