Add size and PDF restrictions to downloads
reduce chunk size when downloading, raise exceptions on problems and close connection when done
Merge pull request #106 from CottageLabs/feature/add_size_and_pdf_restrictions

Add size and PDF restrictions to downloads