relay: fix invalid nick events crashing connection

* fixes HoloIRC/#72