changes to Host, TorrentLogger, and handshake