HPCC-9415 Use epoll, add EPOLLRDHUP define for Centos5.x

As far as I can tell EPOLLRDHUP is in the kernel just not in the epoll.h header for Centos 5.x so I added a check and define if needed.
Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>