if included in node, don't crash

this currently won’t work in node, but it’s getting included in the
webtorrent-tracker server since it’s used in the client, so don’t crash