Add guzzle support

This PR adds guzzle support. It takes the work done in #11 and fix some minor issues.