Improved handling of AMF messages, to support some data types which were previously omitted.