Fix: 14509. TCPServer send may not send correct data

If send doesn't complete in one iteration don't resend beginning of data.

fixes: #14509

I found this in trac. Seemed like it really should be fixed.