[CB-1518] Only check for gzip encoding on downloads
[CB-2537] Implement streaming downloads for FileTransfer