[#2212] CID26092, CID26080, CID25853 and CID25826:

initialized the member fields in ssl_object constructors and changed
the equality operator to check for more equality