Replacing AndroidHttpClient with HttpUrlConnection