Small sample code using Netty