Fix to curl-method
Refactored to work on PHP 5.3. Fixes #5#
Merge pull request #6 from hampuspersson/curl

Curl