libevent client