Create a TorrentSession struct to hold torrent session state.
Create a TorrentSession struct to hold torrent session state.

Try to handle the peer closing the session better.

beni55/Taipei-Torrent,rakoo/rakoshare,FlexibleBroadband/Taipei-Torrent,rakoo/rakoshare,zyxar/taipei,ansonwzj/CPSC416Taipei,Dataman-Cloud/Taipei-Torrent,beni55/Taipei-Torrent,Dataman-Cloud/Taipei-Torrent,nictuku/Taipei-Torrent,ansonwzj/CPSC416Taipei,FlexibleBroadband/Taipei-Torrent,nictuku/Taipei-Torrent