Replace exception by throwable, add an other default for debug purpose
Use HttpURLConnection instead of DefaultHttpClient
pick commit and merge