How to access Chat class/object properties from $server variable (IoServer::factory) ?
Hello,

I'm trying to build realtime application (like Chat) using Ratchet ut i'm facing a problem i cannot fix for now. Namely  I'm starting a sever script that handles client requests. It looks like this:

``` php
$server=IoServer::factory(
      new HttpServer(
           new WsServer(
                  new Chat()
           )
       ),
       8080 
  );
   $server->run();
```

After i run the $server I'm trying is to access some Chat object properties inside the $server variable using ajax. I'm afraid I cannot manage to do that. Can somebody help about this issue?
