most of the SSL index fixes...
Merge pull request #499 from jessevondoom/master

most of the SSL index fixes...