BUGFIX: both in the data transmission phase and in the FIN packet
transmission, the Client skipped some packets, under certain delay and
timeout conditions. Now the main loops of tx-rx behave well.