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