Piece setMaxListeners to 0 to avoid warning messages
initial support for tis peer-to-peer connections
a hack for a potential issue with peer writing messages after the socket/stream has been closed or errorred out