Switched to HttpURLConnection.