Merge pull request #8 from stephpy/exceptions

Define some exceptions when provider fail.
Add curl http adapter