[JSB remote debugger] Fix socket errors on WINDOWS.