Introduce http adapter factory