Fix: prevent IllegalArgumentException when downloading from https previous to ICS