ws client: better offline reconnect behavior
ws client: better offline reconnect behavior

Fixes https://github.com/feross/webtorrent/issues/318

prozacchiwawa/bittorrent-tracker,feross/bittorrent-tracker,LinusU/bittorrent-tracker,jhiesey/bittorrent-tracker,jhiesey/bittorrent-tracker,feross/bittorrent-tracker