Initial draft to upgrade to netty 4.0.20
Try to maintain feature parity

Record how many bytes are sent.