A selectNow event loop and some hacks to make it fit in.
- new sample to run it.
- added interface for both new loop and old loop to implement so you can
switch between them.