warning fixed

new DefaultHttpClient() is deprecated, and now it uses the system
properties like -Dhttp.proxyHost -Dhttp.proxyPort -Dhttps.proxyHost
-Dhttps.proxyPort ...
Merge pull request #1 from venosov/master

warning fixed