Check for libcurl >= 17.9.1

Disable definitions for ancient code depending on libcurl
Update autoconf.h.in