STARTTLS support for SMTP handler