Remove bufferevents and use libevent 2.0 API

Builds fine. Doesn't run the experiment though
Use properly formatted urls