An implementation of the T=1 protocol for USIM cards