[PATCH 0/5] Refactor epoll handling in preparation for multithreading