read source of libevent 1.4.13 stable