(#1) Remove libevent header include
(#1) Use libevent 2.x

Compiles cleanly, probably uses evbuffer_pullup() more than necessary. Should
also check return values of ev{ent,timer,signal}_new().