Merge "[Thread] add error code ERROR_UNKNOWN for forward compatibility" into main