starting to rework epoll example to add kqueue support
initial version of kqueue port of example