Switch from Apache HttpClient to HttpURLConnection (necessary for Android support)