Added framework for detecting new connections