get rid of invoke later [^Peter]
IDEA-115708 Add workaround by setting global SSLContext
(cherry picked from commit fc3f452bbbef193a3ebf6fd28d7e0bffb14a9a5a)