re-arrange ExtMsg a bit to cope with $sock->peerhost and port failures