Merge "p2p: check the length of the network name bytes"