Support cURL versions before 7.19.4; only use redirect protocol whitelist if available.