func NewServerConnStateLogger(logger log.Logger) func(net.Conn, http.ConnState) {
	if logger == nil {
		logger = logging.DefaultLogger()
	}
	return func(c net.Conn, cs http.ConnState) {
		logger.Log(
			"remoteAddress", c.RemoteAddr(),
			"state", cs,
		)
	}
}
NewServerConnStateLogger adapts a go-kit Logger onto a connection state handler appropriate
for http.Server.ConnState.
package xhttp
import (
	stdlog "log"
	"net"
	"net/http"
	"time"
	"github.com/go-kit/kit/log"
	"github.com/go-kit/kit/log/level"
	"github.com/xmidt-org/webpa-common/v2/logging"
)
var (
	serverKey interface{} = "server"
)
func ServerKey() interface{} {
	return serverKey
}
func NewServerLogger(logger log.Logger) *stdlog.Logger {
	if logger == nil {
		logger = logging.DefaultLogger()
	}
	return stdlog.New(
		log.NewStdlibAdapter(logger),
		"",  
		stdlog.LstdFlags|stdlog.LUTC,
	)
}