Added support for unknown enum values. This can happen when you are receiving messages from a newer version of messages that have new enum values. If an unknown enum value is decoded then it is set to undefined or the default value if one is available.