Make header detection case insensitive
Merge pull request #3 from theapi/master

Make header detection case insensitive