add nio
Merge pull request #1 from tbyizhong/master

add nio