fix ping/pong mechanism with practical debugging.
if you unplug ethernet cable. current implementation can't detect it this fix will proper check it according to configuration of ping_timeout and ping_interval. anyway i am not sure what exactly original intention. this is just my implement by test with socket.io latest version. 4.6.1
This is a bit risky change so I will schedule a proper testing round for it a bit later to test merge viability. Will need to ensure we don't get regression in expected behavior before merging.
yes, it is.. i just concentrate on resolve the issue that is plug off the ethernet cable. current implementation can't recognize at least on my environment. base on testing environment and without understanding the base logic