PetPlugin: prevent setting empty nickname. Close #172.
Merge pull request #185 from rexim/issue_172

PR for #172: PetPlugin: prevent setting empty nickname.