Beginnings of malloc support in pb_decode