addNetworkHandler connect disconnect isConnected isConnecting removeNetworkHandler triggerNetworkEvent triggerPeerNetworkEvent