maybe use the flags instead of the connectionInfo to pass the fact that the message is from localNode