Introduce proper testing for curl header in autoconf, add ifdef for curl in xhprof argument summary handling and remove dependency to php_curl.h