tranform org.apache.httpclient to java.net.URL