Another approach would be to rework wininet to use SSPI (implemented in secur32.dll), and to write an SSP for SSL and TLS. You could write one that uses NSS if you like, or another that uses OpenSSL or GnuTLS.
Not sure how "fun" that would be though <g>.
--Juan
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail