protected void ConnectToServer(UnifiedClientBase client, string address, byte[] token = null, object custom = null)
 {
     client.Connect(address, token, custom);
     client.InitEncryption();
 }