Address review comments by mpetazzoni on https://github.com/mpetazzoni/ttorrent/pull/111