Added support for TLS

A new “tls” configuration flag sets the javamail
"mail.smtp.starttls.enable" property.