Can't set ssl httpchk

Everything is OK before I add this code in the section backend:
option httpchk
http-check connect port 443 ssl sni www.google.com
http-check send meth HEAD uri / ver HTTP/1.1 hdr host www.google.com
http-check expect status 200-399
server public 192.168.1.11:1333 weight 3 check

##192.168.1.11 is my proxy server, I connect to google.com via it to check the status of proxy
But I can’t connect to the server, the stats page says:
Layer4 connection problem: Connection refused