add support for mocking req/resp

Private?