Added case-insensivity to header lookups