mozilla-b2g/gaia-email-libs-and-more — pull request #246 by mcav (2013-09-04 16:56:18+00:00)
Title:  Bug 847032 - [email] IMAP only supports initially-SSL encrypted connections, STARTTLS upgrade not supported from unencrypted cleartext.

Adds STARTTLS support for both IMAP and SMTP using mozTCPSocket.upgradeToSecure().