Attached fixes (version 0.42.5 pd-extended):
lack of reporting of disconnect through the right outlet and added safer way of reporting disconnect as it can be triggered by out-of-order events. (there is still the issue of netserver not reporting socket info or ip address properly)
Attached patch is created using diff -u.
Best wishes,
Ico