not case insensitive wrt header names, so switched impl