     client_bundled.content = minify client_bundled()
     socketjs.content = minify socketjs()
 
-  if io?
+  do ->
     zappa_prefix = app.settings.zappa_prefix
     context.get zappa_prefix+'/socket/:channel_name/:socket_id', ->
       if @session?


  # The callback will receive (err,session).
  socket_session = (socket,cb) ->
    socket.get socketio_key, (err,data) ->
      if err
        return cb err
      data = JSON.parse data
      if data.id?
        context.session_store.get data.id, cb
      else
        cb err

  context.param = (obj) ->
    build = (callback) ->


vendor_module = (module,args...) ->
  fs.readFileSync (path.join (path.dirname require.resolve module), args...), 'utf-8'

# Soft dependencies:
uglify = null
