Imports github.com/juju/clock github.com/juju/errors github.com/juju/loggo/v2 github.com/juju/retry golang.org/x/net/http/httpproxy Standard library imports context crypto/tls crypto/x509 encoding/base64 fmt net net/http net/http/httptrace net/http/httputil net/url strconv strings time