Moved SMTP connection-related things to SMTPConnection object.