Replace select() usage for a Poller class witch uses either kqueue(), poll() or select() backend