with input from kn@ and jca@
Changelog:
- Added support for custom content types for uploaded files.
- Added support for $XDG_CONFIG_HOME.
- Added support for Set-Cookie triggered cookie expiration.
- Added --format-options to allow disabling sorting, etc.
- Added --sorted and --unsorted shortcuts for (un)setting all
sorting-related --format-options.
- Added --ciphers to allow configuring OpenSSL ciphers.
- Added netrc support for auth plugins. Enabled for --auth-type=basic
and digest, 3rd parties may opt in.
- Fixed built-in plugins-related circular imports.
Tests patched to deal with an error if py3-openssl is installed.
ok on a sthen@ kn@ on a previous version
ok jca@