Checking for SSL fault on connection

If the server on the endpoint does not support SSL correctly, a response.client object may not be available. Check before reading properties from response.client.
Added dependency badge for README file;

I would like to add VersionEye dependency badge, which shows a current state of dependencies and when user clicks on badge, then he/she will see an additional metadata, that doesnt exists on npmjs page, for example previous versions, release cycle and  sub-dependencies.
Adding support to client certificate with proxy use case
Merge pull request #952 from shakedo/master

Adding support to client certificate with proxy use case
Update README.md

Hi guys!

Updated README.md. Added example to `HTTP Authentication` section, how to make basic authentication using the URL itself as specified in RFC 1738: http://www.ietf.org/rfc/rfc1738.txt

Best regards, 
Pavlo Voznenko
Update README.md

Changed place for basic http authentication RFC 1738 example
2.38.0
2.38.1
Merge pull request #976 from fosco-maestro/patch-1

Update README.md
2.39.0
2.39.1
Show optional modules as being loaded by the module that reqeusted them
“--” -> “—”
Merge pull request #987 from iarna/master

Show optional modules as being loaded by the module that reqeusted them
Added allowRedirect function. Should return true if redirect is allowed or false otherwise
Merge pull request #988 from upisfree/master

“--” -> “—”
Fix security vulnerability. Update qs

There is a security vulnerability with qs,

https://nodesecurity.io/advisories/qs_dos_memory_exhaustion

https://nodesecurity.io/advisories/qs_dos_extended_event_loop_blocking

Please use the most recent version of qs.
Merge pull request #992 from poeticninja/master

Fix security vulnerability. Update qs
2.40.0
2.40.1