email: add support for Server Name Indication (SNI)

Change the underlaying socket factory reference to SSLCertificateSocketFactory which
has support for SNI since 4.2, and remove the access to the obsolete methods from
the old factory reference.
This change will setup the socket with a proper hostname prior to the ssl handshake.

Change-Id: Ic3315f3924f33470ea2da14e8ac3b946d039b1d5
JIRA: CYAN-3775
Issue: https://jira.cyanogenmod.org/browse/CYAN-3775
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Conflicts:
	emailcommon/src/com/android/emailcommon/utility/SSLSocketFactory.java
cleanup

Change-Id: I1a98651c3af9fb42cdcefebfbafccecb3002240c
Automatic translation import

Change-Id: I34dd4eb4df793e4a0a72c62125e58ed6364a6c68