Added option to disable request compression and merge empty cookies for auth
I'm using this client to access content on MediaWiki 1.40 with php8.2-fpm for Nginx.
I don't see an easy way to support request compression without hacking Nginx with lua scripts or hacking MediaWiki to gzdecode()
incoming POST payload, so I have added an option disable_compression
to remove it altogether.
I also find it unintuitive that to authorize, you need to pass some arbitrary cookies to make CookieJar
work. I made it work, so it's possible to authorize automatically without extra cookie settings.
Merge if you like it.