Make header field case insensitive

#315: Header field name is now case insensitive
Merge pull request #373 from gadcam/master

Make header field case insensitive