Registering this telemetry initializer with your service collection will get any headers present in HTTP dependencies to be logged
with the dependency telemetry. Each header will be logged as a separate property in the form HEADER_{name}
.
Health warning: I strongly recommend against using this in production because it will log sensitive information. It can however be very useful diagnosing scenarios such as authentication issues while developing locally.