Add libevent2 multithreaded support to main libevent loop