Separate definition from implementation.

Adding helpers to wrap curl while implementing logic found in the cloud
files documentation.