Add some more edge case handling to _prune_sendbuffer_bytes.
Add some more edge case handling to _prune_sendbuffer_bytes.

voldern/ssehub,vgno/ssehub,voldern/ssehub,rexxars/ssehub,olesku/ssehub,vgno/ssehub,rexxars/ssehub,olesku/ssehub