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

Signed-off-by: Mark Kelly <mark.kelly@lexisnexis.com>