Fix broken example since use of HttpClient.
Merge pull request #17 from fbourigault/fix-broken-examples

Fix broken example since use of HttpClient.