Explicitly use sync versions of cookie functions
This allows regular `tough-cookie' jars to be passed on directly to `request`.
souped up nodei.co badge
extract out helper functions to a helper file
propagate datastream errors

zlib can fail
Merge pull request #1039 from seanstrom/support/extract-helper-functions

extract out helper functions to a helper file
Add: basic test-gzip-errors
Add: Backward compatibility
Retain a `._jar` self-reference (to avoid breaking any hacks like #975 )
Aws is now possible using a proxy

The path of a Request will contain the fully qualified domain name
when using a proxy.  So it is not usable to calculate the amazon
authorization header of.
Merge pull request #1048 from steven-aerts/aws_with_proxy

Aws is now possible over a proxy
headers added to HTTP CONNECT requests
Merge pull request #1035 from rvagg/badge

souped up nodei.co badge
Pass whitelisted headers to tunneling proxy.  Organize all tunneling logic.

Fix #1019
Incorporates #1028
tests: Pass squid tunneling test

Still requires 'brew install squid' or whatever, of course.
Document tunnel and proxyHeaderWhiteList options
proxy: Never send proxy-auth to the endpoint server

Also, remove some headers from the default proxy header whitelist that
are response headers rather than request headers, and remove
proxy-connection, which is just a stupid mistake in the first place that
should never be used.

Add test to ensure that explicitly set proxy-auth header never makes it
to the endpoint server, but is still used when using a non-tunneling
proxy, since it is an essential way to send authorizations other than
basic.
readme: clarify that proxy-authorization is NEVER sent to the endpoint
Hang copy of defaultProxyHeaderWhiteList on the Request class
Merge pull request #1050 from isaacs/proxy-headers

Pass whitelisted headers to tunneling proxy.  Organize all tunneling logic.
2.41.0
2.41.1