defer changing to proxy uri until connected
defer changing to proxy uri until connected

Reported-by: shyswork
Signed-off-by: Andy Green <b471f5a494de34531c9e5a6e15abda71edd49104@linaro.org>
gameclosure/libwebsockets,antmicro/libwebsockets,mushroomgithub/libwebsockets,PureSwift/libwebsockets,cambridgehackers/libwebsockets,mushroomgithub/libwebsockets,pombredanne/libwebsockets,ralight/libwebsockets,RobertoMalatesta/libwebsockets,Chilledheart/libwebsockets,mushroomgithub/libwebsockets,peeracle/libwebsockets,IOPOINT/libwebsockets,canopy-project/libwebsockets-canopy,turbulenz/libwebsockets,wenqiwooo/syslog-libwebsockets,JoakimSoderberg/libwebsockets,canopy-project/libwebsockets-canopy,sartura/libwebsockets,dumganhar/libwebsockets,SoapyMan/libwebsockets,mushroomgithub/libwebsockets,dumganhar/libwebsockets,turbulenz/libwebsockets,DaYeSquad/libwebsockets,sartura/libwebsockets,dtebbs/libwebsockets,JoakimSoderberg/libwebsockets,antmicro/libwebsockets,sanyaade-teachings/libwebsockets,pankona/libwebsockets,sanyaade-teachings/libwebsockets,pombredanne/libwebsockets,gameclosure/libwebsockets,kaostao/libwebsockets,dumganhar/libwebsockets,maws/libwebsockets,peeracle/libwebsockets,tn0502/libwebsockets,IOPOINT/libwebsockets,weimingtom/libwebsockets,abligh/libwebsockets,gameclosure/libwebsockets,jmillan/libwebsockets,dtebbs/libwebsockets,lukasz-skalski/libwebsockets,PureSwift/libwebsockets,jmillan/libwebsockets,peeracle/libwebsockets,antmicro/libwebsockets,Chilledheart/libwebsockets,sartura/libwebsockets,GroundControl-Solutions/libwebsockets,abligh/libwebsockets,maws/libwebsockets,RobertoMalatesta/libwebsockets,sartura/libwebsockets,DaYeSquad/libwebsockets,DaYeSquad/libwebsockets,GroundControl-Solutions/libwebsockets,peeracle/libwebsockets,GroundControl-Solutions/libwebsockets,sartura/libwebsockets,wenqiwooo/syslog-libwebsockets,pankona/libwebsockets,SoapyMan/libwebsockets,sanyaade-teachings/libwebsockets,turbulenz/libwebsockets,abligh/libwebsockets,JoakimSoderberg/libwebsockets,antmicro/libwebsockets,peeracle/libwebsockets,jmillan/libwebsockets,GroundControl-Solutions/libwebsockets,sartura/libwebsockets,ralight/libwebsockets,weimingtom/libwebsockets,sanyaade-teachings/libwebsockets,giovanni-liboni/libwebsockets,canopy-project/libwebsockets-canopy,tn0502/libwebsockets,wenqiwooo/syslog-libwebsockets,DaYeSquad/libwebsockets,kaostao/libwebsockets,JoakimSoderberg/libwebsockets,pombredanne/libwebsockets,dumganhar/libwebsockets,cambridgehackers/libwebsockets,PureSwift/libwebsockets,lukasz-skalski/libwebsockets,dtebbs/libwebsockets,Chilledheart/libwebsockets,ralight/libwebsockets,wenqiwooo/syslog-libwebsockets,jmillan/libwebsockets,RobertoMalatesta/libwebsockets,tn0502/libwebsockets,cambridgehackers/libwebsockets,giovanni-liboni/libwebsockets,maws/libwebsockets,weimingtom/libwebsockets,weimingtom/libwebsockets,SoapyMan/libwebsockets,ralight/libwebsockets,tn0502/libwebsockets,IOPOINT/libwebsockets,PureSwift/libwebsockets,GroundControl-Solutions/libwebsockets,RobertoMalatesta/libwebsockets,ralight/libwebsockets,pankona/libwebsockets,abligh/libwebsockets,lukasz-skalski/libwebsockets,dtebbs/libwebsockets,lukasz-skalski/libwebsockets,pombredanne/libwebsockets,giovanni-liboni/libwebsockets,DaYeSquad/libwebsockets,SoapyMan/libwebsockets,Chilledheart/libwebsockets,dumganhar/libwebsockets,cambridgehackers/libwebsockets,kaostao/libwebsockets,maws/libwebsockets,gameclosure/libwebsockets,sartura/libwebsockets,kaostao/libwebsockets,PureSwift/libwebsockets,SoapyMan/libwebsockets,pankona/libwebsockets,giovanni-liboni/libwebsockets