Added fallback if curl is not available.
Merge pull request #13 from pixelbacon/master

Added fallback if curl is not available.