Created PollServer to exploit the similarity between poll and epoll.