SSL is also a protocol.

Sorry, I don't know which is more secure, SSL or SSH? I think SSL was designed to be more or less transparent for sockets, providing both encryption and strong authentication (if SSL client auth is used), while SSH is more for strong authentication.