兼容 httphost