Added HTTP error handlers