Fix incorrect results from :meth:`ssl.SSLSocket.shared_ciphers`