Tmichelet/ana 475/strenghten http error handling