Headers were broken when upload a lot of large files (and set maxOperations to 5). Could be also relevant with issue #100.
Merge pull request #114 from sampsasaarela/master

Fixed bug which broke headers