Throw permanent_failure when TLS fails due to non-started SSL.