http adapter