Added SSL option
Fixes #6
Fixes #7
merge
Merge branch 'ssl'