Taken from https://github.com/rustls/hyper-rustls and modified for use with TrustDnsHttpConnector
