redactHeaderValue
Returns the header value, or [REDACTED] when name is a well-known sensitive header OR its name matches a sensitive key fragment — so custom auth headers (X-Api-Key, X-Auth-Token, …) are masked, not just the standard Authorization / Cookie set. Well-known public headers that merely resemble a secret by name (NON_SENSITIVE_HEADERS) pass through.