Implement the observer pattern for incoming connections.