relay: fix ping and error parsing

* I can't believe I missed this...
* fixes tilal6991/HoloIRC#76
Merge branch 'develop' into dcc