TCPClient DNS resolution

If the 'host' parameter cannot be converted to an IP, the client
performs asynchronous host resolution and tries all the resolved IPs in
order.