Add IPv6 support and hostname lookup

* CarbonClient