This makes the https-over-http proxy work when strictSSL is turned on.
In v0.8.4, we fixed a bug where an otherwise valid cert would be
accepted for a host that was not listed in the CN or subjectaltnames
sections of the certificate.
However, this breaks proxying, because you want to accept the cert if
it comes from the origin server, not tested against the proxy's
This fixes npm/npm#2719