Use custom SSLSocketFactory to enable Server Name Indication for HTTPS connections

This is the pull request to solve issue #164.
You need to use the Android libraries generated by maven-sdk-deployer so that we can execute the tests.
See https://github.com/simpligility/maven-android-sdk-deployer