Details
Description
RFC5440 suggests that setting Termination Reason in Close object is optional. This means we also can get 0, which is undefined in current enumeration object.
Also consider possibility of getting a value that is not listed in IANA (6 and up).