There are three ways to make a socket-stream with SSL processing:
(make-instance 'socket-stream :ssl-ctx ...)
(open-tcp-stream ... :ssl-ctx ...)
For example:
(open-tcp-stream some-url 443 :ssl-ctx t)