relay: fix a couple of bugs

* send nick change event to server as well
* add the correct message to buffer on PMs