Add http compatible handler