Check for errors when settings cURL options.
Support setting DNS servers (requires cURL built with ares support).