fixed downloading with https

enables downloading of projects from https://pocketcode.org

cherry-pick of sjaindl@368a60236a58fa11ec470c5a0b96b22640c32067