typedef void __fastcall (__closure *TServerConnectEvent)(System::TObject* Sender, bool IsEncrypted, const System::UnicodeString ConnectAddress, System::TObject* &UserData)