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

Was causing "page not secure" warning when used with SSL.