Configurable http adapter.
Merge pull request #52 from ejholmes/adapter

Configurable http adapter.