libevent bufferevent rate-limiting API