Netty Java code cleanup

Fixes #110