added: framework.on('close', req, res), framework.on('open', req, res)