Merge "p2p: check the length of the network name bytes" into qt-qpr1-dev am: 2e513c5b1b

Change-Id: I22d15a5ab08c3e901f17ebe6eb0c045b708b51da