Replaced the Guzzle client with a more abstract way of making HTTP requests.