Make BgpProtoPrefix parsing more robust

Change-Id: If2c49af72fa93a8dbabd9796c732538ec4ea9430