Use guzzle for http client

Switching to the [Guzzle](https://github.com/guzzle/guzzle) library for making HTTP calls to the server