Added state flags for torrent session.