Add resume and content-length

- Add resume function
- Give content-length before streaming
- Fix zip structure
- Cleaning