This task isn't all that daunting, and unfortunately for you we're not obliged to "share" code, but to "help" scripters write it. For a start, take an in depth look at /help sockopen (and the rest of /help sockets). HTTP over SSL is not all that much more difficult than HTTP over TCP. In fact, the only difference that I'm aware of is that extra layer (the SSL), which is conveniently already written for you in mIRC, and the default port (443 instead of 80). If you encounter any other problems, give us a yell, but please do make sure you can ask an educated question that displays your objective and (more importantly in this case) a clear point of confusion. Your current question does not.
You're most welcome!