TPM emulator with socket and Linux CUSE interface