fix: support both lowercase and camelcase headers' keys