improved compatibility with IO::Socket::SSL 1.87