Use httpclient to replace java URL