extended nio example
Merge pull request #2 from aerben/nio-extension

extended nio example