changing Java API links to https