## What exactly has been fixed
1. `flush()` no longer **resets the `index` silently**: bytes are deleted from the buffer only after
the wrapped client reported that they were gone (`sent > 0`), with partial sending, the remainder is shifted
`memmove' and will be repeated later.
2. `write()` no longer **reports success if buffer reset failed**: if buffer is not released
it turned out, `0` is returned. This is enough for the chain to
`B4RStream::WriteBytes → AsyncStreams::Write2 → AStream_Error → HttpJob.HttpErrorsCounter`
I saw a short recording and raised a sending error (the recording will be saved in write-ahead and repeated).
3. The dead line of the original `total += index` ** has been removed after ** `flush()` (there is already `index == 0`).
In addition, returning "flushed + size" would be a violation of the contract `Print::write`:
`B4RStream::writeBytes` subtracts the return from the remainder of `Length` — a number greater than `Length` would give
overflow of an unsigned counter. Now `write()` never returns more than it was given.
4. Added `wrappedClient == 0` protections (calling before `setClient`) and clipping the "over-count" from the wrapped
the client. Unnecessary retry cycles **not** added: ESP32-the client locks itself to its own
send-timeout, multiplying it would be dangerous for watchdog.
5. `stop()`: What could not be sent before the socket was closed is still lost (the socket is closed),
but now it is clearly marked — when `B4R_WIFI_BUFFER_DEBUG` is enabled, it is printed in Serial.