New module res_config_curl (closes issue #11747)