Stop passing "http" to getaddrinfo in the case when we only need an IP