GATEWAY-3383: Fixed auditing for DS and DS Deferred.
GATEWAY-3383: Added comments.
Gateway-3389 Refactored for passthrough
Merge pull request #352 from akong/gateway-3383

GATEWAY-3383: Fixed auditing for DS and DS Deferred.
Merge pull request #354 from jsmith2/audit_AD

Gateway-3389 Refactored for passthrough