Refactor net peers to use a hash table instead of an object buffer; fixes problems with dangling peers