add range in header requests and abort stream if it is necessary
Merge pull request #30 from poupotte/feature/upload

add range in header requests and abort stream if it is necessary