use ssl if uri.scheme == https, not if port is 443

Hello,

I came across this while running a Zabbix instance in Vagrant; use_ssl is set to true only when the port is 443.  This fix sets it to true when uri.scheme == https.