added new Protobuf delimitation test and various fixes