Selector#register uses the actual io object as the identifier key because Monitor#initialize may convert it using #to_io or #try_convert
Selector#register uses the actual io object but java implementation was already correct because it calls RubyIO.convertToIO before
Merge pull request #17 from frsyuki/master

Selector#register should get the actual io from a Monitor object because Monitor#initialize may convert it