I think this should be do-able, although I think its difficult to define the time-spent on the internet.
From what I know, e.g. Bluecoat proxies do not have this feature.

From the other hand...