Use cURL extension if available, give meaningful exception message if neither cURL nor fopen wrappers are available.
Merge pull request #46 from hschletz/develop

Use cURL extension if available