Fix SNI support for Android by using HttpsURLConnection instead of DefaultHttpClient