ENH: add optional support for c-ares