Work in progress for network event module (abstraction of select/poll/epoll/kqueue).