incrementing of pending outbound bytes must happen in DefaultChannelHandlerContext as otherwise ctx.write(...) will not trigger it.