Port AMF Encoder into Scala from Java