Added ssl options for both connection types
Fixed missing semicolon
Merge pull request #2 from xenji/feature/https-support

Feature/https support