add epoll support

Signed-off-by: whoisz <whoisz@qq.com>