Alternative implementation using Netty's ChannelBuffer as glue