replace inline conditionals in headers
simplify insensitive header stuff by inlining check to prevent duplicating downcasing
Release 0.33.0