Separated SSL logic from SmtpClient