Limit the speed of a transfer

Add the ability to control the data transfer rate.