Add hooks to calculate session time.

Billing can happen based on time in 20s increments. We need insight into average session duration per service.
It is probably better this way, but any reason the helper isn't doing the event listening itself?