curl: disable ldap (rarely used); enable threaded resolver and ipv6.