[0.2.4] improve connection deduplication, self checking

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>
Fix reconnection support

Signed-off-by: Eli Skeggs <eskeggs@globesherpa.com>