Fix client id length
Add support for getting client ID per friend