async_network: try to connect to all addresses

dns lookup can return multiple addresses. If connection to the first fails,
try to connect to the second, the to the third and so on.