Using apache cling client transport, no more HttpURLConnection hacking.