Changed the way HTTP exceptions work.