Fixed curl proxy

Fixed the curl command to use the correct variable name
Merge pull request #9 from spacedmonkey/patch-1

Fixed curl proxy