Inserting records using tcp --insert-port. Still simple logic.

Keep inserting records while there are enough bytes available: num bytes
available >= record_size.