connection event on tcp server