Fix connecting to AAAA only hostnames
Merge pull request #1 from einarjh/master

Fix connecting to IPv6 only (AAAA only) IRC servers