Many exporters use the Prometheus [exporter-toolkit/web package](https://pkg.go.dev/github.com/prometheus/exporter-toolkit@v0.8.1/web) to implement TLS and basic auth. The only issue is that this library assumes you're using go-kit for logging. I could convert the existing logging to go-kit if that's acceptable.