Do not crash on TLS connection without certificate