Add ssl and authentication options

Thanks for catching that!  I will change this and commit