fixes to network and client ids; it should work with more than two peers now ;-)