added in_uint64_le
chansrv: work on smartcard