Add server response time metrics and request tracking.

Fixes #5.