get middleware() {
      if (!this._middleware) {
        // Create new Connect app instance which can be accessed from your app.js file with ss.http.middleware
        this._middleware = ss.require('connect')();
        this._middleware.use(this.session.middleware);
        this._middleware.use(this.cached.middleware);

        /* Alias app.use to indicate this will be added to the stack BEFORE SocketStream middleware */
        this._middleware.prepend = this._middleware.use;
        this._middleware.append = this._middleware.use;
        ss.log.warn('ss.http.middleware is deprecated, see socketstream-examples for the new way');
      }
      return this._middleware;
    }
@ngdoc service
@name http.index:index
@function

@description
HTTP Server
-----------
SocketStream does not concern itself with web servers. It simply provides a stack of Connect Middleware
which can be used by the application in any way it wishes.