static public bool IsValid(LobbyClient client)
{
if (client.Account.Index < 1) return false;
Console.WriteLine("Account ID: " + Convert.ToString(client.Account.Index));
Byte[] proof = Auth.computeProof(Convert.ToString(client.Account.Index), client.serverModulus, client.clientModulus, client.Verifier, client.Salt, out client.SessionId);
for (int i = 0; i < proof.Length; i++) if (proof[i] != client.Proof[i]) return false;
return true;
}