Probably you need to mark `SIOClientImpl;` as the friend class of `SocketIO`.
Are there something I misunderstood?