Notify the ChannelPromise based on written bytes to allow all kind of optimizations