Add http exception handler etc.