Handle NumberFormatException in parsing the friendKey.
Merge pull request #178 from Corly/master

Handle NumberFormatException in parsing the friendKey.