write: implement "Reference" AMF0 type