Improvements to associating a context with a request and response