use httpclient instead of new URL