(NodeServer) added `on_connect` for sig-based connection notification