network: only set TCP PSH in final block in a segment if any bytes are being transmitted at all. Fixes sending FIN,PSH,ACK with length=0.