Add support for doing DNS resolutions inside of HTTP client.