netty learn chapter 4 and chapter 5