Lower case header names before compression.

Possible resolution for #277.