Make InMemoryMetricRepository.increment() thread safe
Add response headers to Trace