Add support to trace requests/responses.