Header keys need to be converted to lower case.
If a header appears in the response multiple times then it is converted to an array of values.