added support to use squid as proxy. https authentication is managed by squid, so start_tsl should not be called in this cases