lightirc: add link parsing

* also stop leaking of service connection