public function handleClose(Connection $conn)
{
Logger::debug($this, "Raw socket closed " . $conn->getRemoteAddress());
$session = $this->sessions[$conn];
$this->sessions->detach($conn);
$this->router->getEventDispatcher()->dispatch('connection_close', new ConnectionCloseEvent($session));
}