compatibility fix for guzzle 3.7