SSLError inherits from socket.error

Fixes: https://bugzilla.osafoundation.org/show_bug.cgi?id=12974