Added more socket options
Changes to IO factory
Added close method to selector
Allow sever sockets to be registered with channels
Ensure that a server socket can only be registered for accepting
Get the interested and ready operations from the selection key