[Reviewer: Alex] Make header checking case insensitive

Alex, can you review this change to make the Header matching in IFCs case insensitive. 
This fixes part of #867