Let the correct SocketFactory be passed in SMTPClient constructor