func (s *Server) Middleware(middleware ...Middleware) {
	for _, m := range middleware {
		s.MiddlewareFunc(m.Middleware)
	}
}
func (s *Server) Middleware(middleware ...Middleware) {
	for _, m := range middleware {
		s.MiddlewareFunc(m.Middleware)
	}
}
// Middleware registers middleware to handle incoming request messages.