DRY- Refactored request/session-Id handler logic to traceebackend impl