Use custom SSLSocketFactory to enable Server Name Indication for HTTPS connections

This is the pull request to solve issue #164.
Why does this require JellyBean?