Have you installed SSL? You need to do this first, mIRC does not come SSL-enabled when you first download it. See www.mirc.co.uk/ssl.html for instructions on how to install SSL, I recommend using the OpenSSL installer and not adding the DLLs manually.