How to handle native sessions
I want to use php's native session management so I'm writing a small class to just use the PHPSESSID cookie sent from the browser and get the session information. I call and use it in this way but while testing I noticed all the connecting clients have the same id. I thought connections were unique ?

``` php
    <?php
    namespace my_project\helpers;
    use Exception;

    class session {

      // the id of the client session;
      private $id;

      // take a session Id and continue a session if empty createa new session
     public function __construct($PHPSESSID = ''){

     // if we have a valid session id containing letters and numbers then use it
    // @note add check for weird characters later
    if (strlen($PHPSESSID) > 5 && preg_match('/[A-Za-z]/', $PHPSESSID) && preg_match('/[0-9]/',$PHPSESSID)){
      session_id($PHPSESSID);
    }

       @session_start();
      $this->id = session_id();
      session_write_close();
     }
    }
    ?>
```

And I'm using it like this to start session when the client first connects in my handler

``` php
    public function onOpen(ConnectionInterface $conn) {
        // Store the new connection to send messages to later
        $conn->session = new \my_project\helpers\session($conn->WebSocket->request->getCookie("PHPSESSID"));
        $this->clients->attach($conn);

        echo "New connection! ({$conn->resourceId})\n";
    }

    public function onMessage(ConnectionInterface $from, $msg) {
      var_dump($from->session);
    }
```

All giving me the same id back when I send a message to the server. What should I attach my session object to  in order to make them unique to each connection 
