Introduce http adapter factory

All is mostly in the title. It will help a lot for integration with other libraries such as Symfony :kiss: