getClientPeerId() now reports errors.

We now also use it in CLIENT KILL implementation.
getClientPeerId() refactored into two functions.
Use getClientPeerId() for MONITOR implementation.