         appName = req.params.name
         req.url = req.url.substring "/public/#{appName}".length
         req.url = "/public#{req.url}"
-        @ensureStarted appName, (err, port) =>
+
+        doStart = -1 isnt req.url.indexOf 'socket.io'
+
+        @ensureStarted appName, doStart, (err, port) =>
             return res.send err.code, err.msg if err?
             @proxy.proxyRequest req, res,
                 host: 'localhost'

    # @arg slug the app slug
    # @arg cb(err, port) a callback
    #   err.code / err.msg
    ensureStarted: (slug, cb) =>
        if not @routes[slug]?
            cb code:404, msg:'app unknown'
            return

        buffer = httpProxy.buffer(req)
        appName = req.params.name
        req.url = req.url.substring "/apps/#{appName}".length

        doStart = -1 isnt req.url.indexOf 'socket.io'

        @ensureStarted appName, doStart, (err, port) =>
            return res.send err.code, err.msg if err?
            @proxy.proxyRequest req, res,
                host: 'localhost'
