update header macro define
add libevent in deps
refactor
add NetUtils.hpp