init the ssl library in the backend

Also add some comments since this is mildly convoluted.
Merge pull request #455 from reaperhulk/init-ssl-stuff

Init the ssl library in the backend