code: func (agent *Agent) WrapHTTPHandler(h http.Handler) http.Handler {
  	agent.CollectHTTPStat = true
  	agent.initTimer()
  
  	proxy := newHTTPHandler(h)
  	proxy.timer = agent.HTTPTimer
  	return proxy
  }
docs: //WrapHTTPHandler  instrument HTTP handler object to collect HTTP metrics