pcsc-relay: include thread locking mechanism

fixes regression from 0aec0e4

closes #5
rebuilt docs