Fix check for https URLs; actually closes #5