support http scheme