Added support for EPOLLRDHUP, including testcase