Added functional onConnectionChanged event to NodeConnector