Correctly handle headers of different cases

For example, Content-Type and Content-type.
One of these will become the canonical version for the purpose of keys, and
both will be returned from getAll.