fixes #34 by using Guzzle instead of cURL for more reliable API calls