Fixed to provide raw headers at client level.  cleaned up logging.