Fix null pointer in TLS handshake
STARTTLS