Use curl to aid in provisioning behind HTTP proxies.

Complements to @dsnellgrove for the fix!