Transferred ownership of i/o streams to P2PConnection objects.  Made transfers more efficient.