fixed SSL issue, when protocol option is not set use '//'.
fixed indentation
Merge pull request #2 from mandric/master

fixed SSL issue, when protocol option is not set use '//'.