ssl: Use QSslSocket directly to avoid redundant qobject_casts