Listen to progress events to reset timeout

Current implementation always kills transfers after 10s. It is more correct to kill a transfer after no response for 10s. This allows big transfers over thin lines, and enables uploading and downlaoding of big documents.