case insensitive headers checking