Move methods from ChannelHandler to ChannelStateHandler like proposed in [#1107]