Add support for epoll_create1 and setsid, and add a unit test for epoll_create