Api2

I think Decode should log an error or panic if it finds APIVersion == internal, because that means someone wrote the in-memory version out on the wire.