Convert HTTPLogClient to use libevent.

This removes the dependency on libcurl.