renamed Client to NetworkPeer