ChannelOutboundHandlerAdapter is deprecated on Netty 5.x, so I'm extending ChannelHandlerAdapter instead.