Hmm. I'm afraid I cannot offer much help with SSL, since I don't really understand how it is supposed to work. The code was submitted by a volunteer and seems to work for "obvious" sites, as you yourself noticed.
I'm sorry I cannot help you more. If you do find what the problem was, please let me know.
