Fix access to freed mem in WS client after #23241
Fix access to freed mem in WS client after #23241

I was wrong in assuming that String had to survive long enough to avoid
it, what actually needed to survive was the CharString obtained from the
acsii() or utf8() function.
At least according to valgrind

godotengine/godot,Shockblast/godot,akien-mga/godot,sanikoyes/godot,josempans/godot,vnen/godot,Zylann/godot,ex/godot,ex/godot,vnen/godot,DmitriySalnikov/godot,josempans/godot,firefly2442/godot,akien-mga/godot,guilhermefelipecgs/godot,sanikoyes/godot,Paulloz/godot,Valentactive/godot,guilhermefelipecgs/godot,josempans/godot,vkbsb/godot,vnen/godot,sanikoyes/godot,guilhermefelipecgs/godot,Shockblast/godot,firefly2442/godot,vnen/godot,Zylann/godot,Shockblast/godot,firefly2442/godot,MarianoGnu/godot,Faless/godot,Valentactive/godot,okamstudio/godot,josempans/godot,honix/godot,pkowal1982/godot,godotengine/godot,pkowal1982/godot,vkbsb/godot,Paulloz/godot,Valentactive/godot,Faless/godot,honix/godot,okamstudio/godot,Zylann/godot,MarianoGnu/godot,vkbsb/godot,DmitriySalnikov/godot,honix/godot,firefly2442/godot,godotengine/godot,firefly2442/godot,ZuBsPaCe/godot,okamstudio/godot,ex/godot,vkbsb/godot,akien-mga/godot,godotengine/godot,firefly2442/godot,DmitriySalnikov/godot,groud/godot,vnen/godot,BastiaanOlij/godot,ex/godot,sanikoyes/godot,okamstudio/godot,vkbsb/godot,akien-mga/godot,ex/godot,ex/godot,sanikoyes/godot,josempans/godot,vnen/godot,Valentactive/godot,okamstudio/godot,okamstudio/godot,Valentactive/godot,ZuBsPaCe/godot,Zylann/godot,Zylann/godot,godotengine/godot,vkbsb/godot,DmitriySalnikov/godot,Faless/godot,groud/godot,guilhermefelipecgs/godot,honix/godot,Faless/godot,honix/godot,pkowal1982/godot,pkowal1982/godot,akien-mga/godot,guilhermefelipecgs/godot,Faless/godot,Faless/godot,Zylann/godot,Faless/godot,Paulloz/godot,ZuBsPaCe/godot,firefly2442/godot,Faless/godot,josempans/godot,vnen/godot,BastiaanOlij/godot,Zylann/godot,Shockblast/godot,Shockblast/godot,Valentactive/godot,akien-mga/godot,MarianoGnu/godot,groud/godot,ZuBsPaCe/godot,akien-mga/godot,Paulloz/godot,MarianoGnu/godot,vnen/godot,MarianoGnu/godot,Paulloz/godot,Zylann/godot,Paulloz/godot,groud/godot,josempans/godot,sanikoyes/godot,godotengine/godot,okamstudio/godot,BastiaanOlij/godot,MarianoGnu/godot,groud/godot,okamstudio/godot,firefly2442/godot,Valentactive/godot,akien-mga/godot,godotengine/godot,guilhermefelipecgs/godot,ZuBsPaCe/godot,BastiaanOlij/godot,MarianoGnu/godot,guilhermefelipecgs/godot,Shockblast/godot,pkowal1982/godot,ZuBsPaCe/godot,vkbsb/godot,okamstudio/godot,Paulloz/godot,DmitriySalnikov/godot,Valentactive/godot,Shockblast/godot,DmitriySalnikov/godot,groud/godot,okamstudio/godot,DmitriySalnikov/godot,BastiaanOlij/godot,godotengine/godot,Shockblast/godot,BastiaanOlij/godot,guilhermefelipecgs/godot,ex/godot,ZuBsPaCe/godot,sanikoyes/godot,pkowal1982/godot,BastiaanOlij/godot,MarianoGnu/godot,honix/godot,ZuBsPaCe/godot,BastiaanOlij/godot,josempans/godot,pkowal1982/godot,vkbsb/godot,pkowal1982/godot,sanikoyes/godot,ex/godot