add peerConnected and peerDisconnect events