[Based on] Examples from the Netty In Action Book