Fix connecting to AAAA only hostnames