exchanges: add high-level support for status code, starting with 404 Not Found