Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo