public RealmClient(SilverSocket socket)
{
this.Socket = socket;
this.Socket.OnDataArrivalEvent += new SilverEvents.DataArrival(Received);
this.Socket.OnSocketClosedEvent += new SilverEvents.SocketClosed(Disconnected);
this.EncryptKey = Utilities.Basic.RandomString(32);
this.Send("HC" + this.EncryptKey);
}