added differentiation EPOLL_IN/EPOLL_OUT for system socket