fixed bug on curwnd
send data to reach a target cwnd before test traffic
wait after snduna is half drained
changed to post process, simplified client logic