Use curl instead of file_get_contents
Merge pull request #4 from TomHAnderson/curl

Use curl instead of file_get_contents