A new event has been added to TsgcWebSocketClient component: OnSSLVerifyPeer
Now if VerifyCertificate property is enabled in TLSOptions, OnSSLVerifyPeer event will be called and you can check certificate and accept or not it.
A bug has been fixed too when using OpenSSL 1.1.1 and VerifyCertificate was true which raised and Access Violation.