Updated netty protocol