Add support for keeping track of intermediary requests and responses