Limit CURL to only HTTP & HTTPS

Bug 1394820

Change-Id: I710098cb96ac7d0868926a95c4b4488df4753e4c
Merge "Limit CURL to only HTTP & HTTPS" into 1.8_STABLE