Using libevent library, setup a multi-thread server.