Fixed bad sha1 hashing for node 0.10.13.. Hopes there is no impact on previous node versions. Also removed all listeners on the stream instance of peer.js