add nonblock and options
Merge branch 'master' of github.com:iknow0612/ruby