whapi_redact: Redact sensitive values in headers/cookies
Description
Replaces sensitive header or cookie values (e.g., Authorization,
Cookie, X-API-Key) with the literal string "<redacted>".
Useful when logging HTTP requests while avoiding credential leaks.
Usage
whapi_redact(name, value)
Value
The original value, or "<redacted>" if the header is considered sensitive.