Currently, we proceed to send an empty buffer in this case.
Earlier on, we also made this sortcut, which led up to trouble.
Apparently, we sometimes get an empty buffer here, and I suspect if that happens when we receive a flush.
If so, shouldn't we proceed to send a buffer with the flush / sync flags set?
What do you think?