getaddrinfo, httpclient