func (service *HTTPListenerService) AddMiddleware(middlewareHandler alice.Constructor) *HTTPListenerService {
	service.BaseMiddlewareHandlers = service.BaseMiddlewareHandlers.Append(middlewareHandler)
	return service
}
/*
AddMiddleware adds a new middleware handler to the request chain.
package server
import (
	"fmt"
	"net/http"
	"github.com/adampresley/logging"
	"github.com/mailslurper/libmailslurper/middleware"
	"github.com/gorilla/mux"
	"github.com/justinas/alice"
)
type HTTPListenerService struct {
	Address string
	Port    int
	Context *middleware.AppContext
	Router                 *mux.Router
	BaseMiddlewareHandlers alice.Chain
}
func NewHTTPListenerService(
	address string,
	port int,
	appContext *middleware.AppContext,
) *HTTPListenerService {
	return &HTTPListenerService{
		Address: address,
		Port:    port,
		Context: appContext,
		Router: mux.NewRouter(),
	}
}