Calculate throughput for a TCP stream