This sometimes happen, this is related to internal java proxy implementation, see http://stackoverflow.com/questions/3174375/java-httpurlconnection-uses-socks-proxy-instead-of-http