initial support for capturing bytes read from gateway response