proto_read ret Null-size handling