The right version plus SSL support.

somehow I pushed the wrong version last time. I also added an unloader if SSL support isn't available.
Merge pull request #7 from jdarmst/master

The right version plus SSL support.