holoirc: minor refactoring of connection class