func NewHandlerWith(eng *stats.Engine, h http.Handler) http.Handler {
	return &handler{
		handler: h,
		eng:     eng,
	}
}
NewHandlerWith wraps h to produce metrics on eng for every request received
and every response sent.
package httpstats
import (
	"bufio"
	"net"
	"net/http"
	"time"
	"github.com/segmentio/stats/v4"
)
func NewHandler(h http.Handler) http.Handler {
	return NewHandlerWith(stats.DefaultEngine, h)
}