Telnet connect to SMTP using STARTLS

openssl s_client -debug -quiet -starttls smtp -crlf -connect smtp.office365.com:587