can specify onprogress in constructor
Merge pull request #2 from mafintosh/patch-2

Can specify onprogress in constructor