Added accept-ranges handling for downloads;
Added retry handling for downloads;
Added DownloadResponse class for better result handling inside the gui;
Changed return type of download functions to DownloadResponse instead of bool;