more API breakage, preparing for libevent 2.0