fix(header_dict): locale-unaware field-name

Drop use of strncasecmp(3) and roll our own case-insensitive
comparison.  Slightly faster, and '\0' handling is more
predictable.