libevent simpler sample