Change CURLOPT_POST to true for PUT

Since we specify what data to PUT via the CURLOPT_POSTFIELDS option, CURLOPT_POST needs to be true otherwise no data is sent.
Merge pull request #5 from tomfotherby/master

Set CURLOPT_POST to true for PUT