HTTP request interceptors to handle 404 and 500 error codes. Should also add something for 400, well, maybe later.