Convert HTTPLogClient to use libevent.

This removes the dependency on libcurl.

See also: https://codereview.appspot.com/151090043/