Add ChannelListener parameter to initialization to notify applications when the channel has been disconnected