Changes to the 2.0 branch:
- add v1() and v2() functions to torrent_info
- fix piece_layers() to work for single-piece files
- fix python binding regression in session constructor flags
- fix unaligned piece requests in mmap_storage
- improve client_data_t ergonomics
- fix issue with concurrent access to part files
Changes merged from the 1.2 branch:
- fix loading of DHT node ID from previous session on startup
- use getrandom(), when available, and fall back to /dev/urandom
- fix python binding for "value" in dht put alerts
- fix bug in python binding for dht_put_mutable_item
- fix uTP issue acking FIN packets
- validate HTTPS certificates by default (trackers and web seeds)
- load SSL certificates from windows system certificate store, to authenticate trackers
- introduce mitigation for Server Side Request Forgery in tracker and web seed URLs
- fix error handling for pool allocation failure