Use custom SSLSocketFactory to enable Server Name Indication for HTTPS connections

This is the pull request to solve issue #164.
Please add a Javadoc descriptor for the TlsSniSocketFactory