Netty code cleanup, enable paranoid leak detection for tests
Remove unused code