on data-download, use same protocol as was used for request; fixes #20