libevent working server