[0.3.5] fix death detection, message routing, server close handling

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