I'd prefer using the variables hanging off the connection rather than an API change. Chan you change this to `$client->WAMP->sessionId` please?