A handler can be both `ChannelInboundHandler` and `ChannelOutboundHandler`.