1) Add log4j and its conf as logger. 2) Rewrite NIO sockets
1) Add log4j and its conf as logger. 2) Rewrite NIO sockets