Use Curl 0.7.1's Lwt support, if available

This avoids the need for preemptive threads, removing the dependency on
openssl, which improves binary compatibilty.