Made it so java load does not fail if in https.