Refactored into using Guzzle 4.0.