Fixing races in tests
Fixing data races in NetworkTransport
Fixing more test races
Fixing incorrect persistent of peers to avoid local address
Fixing races with peer lookups