Fix to work guzzlehttp 5.0

I updated the `composer.json` and removed the fluent interface calls in `Query` and `Url`