netty 3 and netty 4 traffic counter wiring and more cleanups