Improvements to error handling system.
Multiple hosts on a single port
Adding in the error response class -- should have been added last time around