Adding host header as label to prometheus metrics

--metrics.prometheus.headerlabels.hostname=Host results in an empty label, even when explicitly sending a host header. Is there some additional step required to get the host header passed through? The example in the docs for User-Agent works as expected.