Quick fix for TLS (against Sendmail)

Quick fix for upgrading from unsecure socket to TLS on Sendmail + ignoreBadCertificate option (expired, self signed...)

Please test it against other servers, but it should be ok i guess