Rework detection of multiple ports on a given IP, for the daemon status line