Event Loop Implement a simple Event Loop base on NIO. This event loop must handle [accept, read, write, connect, error] event.