Rewrote the transfer timeout computation, to be based primarily
on a factor times the previously observed network bandwidth.
Cleaned up the debug output to use consistent formatting and units.