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