[SysApps] Update halfclose() handling to match the spec
udp_wip