security/openssl: Fix xmpp STARTTLS - Add (refactored) patch from master branch PR: 219805 Submitted by: Alexey <fbsd98816551@avksrv.org>