Make header checking case insensitive
Merge pull request #869 from Metaswitch/iss867

[Reviewer: Alex] Make header checking case insensitive