Modernize lib/peer.js
Modernize lib/peer.js

jamesliu96/webtorrent,webtorrent/webtorrent,jamesliu96/webtorrent,feross/webtorrent,joshterrill/webtorrent,webtorrent/webtorrent,feross/webtorrent,joshterrill/webtorrent