Set resume_len to 0 if download is restarted
Merge pull request #2463 from rzhxeo/resume

Set resume_len to 0 if download is restarted