Fixed an invalid use of Headers
Removed unused argument to Headers
Changed interface for exceptions to allow response objects being passed through