This is mostly useful in case the server offers TLS, but doesn't present a valid certificate.
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>