added netty and updates to chapter 6 code