add connect/close log for echo server of libevent