(Earlier Libevent versions have bufferevent bugs that affect us, and are missing some APIs that it would be handy to use.)