Only allow HTTP and HTTPS protocols in curl requests