Initial prototype. Not tested.
What seems to be a working impl of NIO1. Seems really fast.
Small changes
Merge branch 'master' into topic/nio1
Small changes