port tcp-server to netty 4