modularize poller (kqueue/epoll)
add signal handling
fix problem that too many accept connection at the same time, got SIGPIPE