Allow for greater flexibility in setting curl parameters by passing in an array.
Merge pull request #332 from Awnage/master

Add ability to use a proxy.