add epoll support

Signed-off-by: sleepwom <sleepwom@163.com>