Correctly handle automatically suspend/resume in ChunkedWriteHandler. Related to [#1861]

The old implementation was broken and could lead to pending message never be picked up again until the user either explicit called flush or
resumeTransfer().
Propagate channelWritabilityChanged() through the pipeline after flushing. Related to [#1861]