fix connection scheme

When the port is 443 expect https, else check if the option is_ssl is
true or not.

fix #104