Caught OSError when querying AAAA records.
DRYed up the OSError/socket.gaierror handler.
Merge pull request #248 from jakebasile/develop

Caught OSError when querying AAAA records.