This removes some redundancy and overhead around setting up the connection (the native_tls crate doesn't provide PEM functions, despite every deployment I've ever seen only ever using PEM certs), but more importantly, gives the control needed to make hostname verification work in a PKI setup with unusual CN values.