Fix overwriting sealed AmfObject properties.
Use exception instead of assertion for too many headers/packets.
Make the AmfObject(AmfObjectTraits) ctor private.