Make BgpProtoPrefix parsing more robust

Change-Id: I849a6ae6dcfadf49cd777f2e722f3cccb3e226cd