- own function for STARTTLS check
- rewrote TLS check using smtplib