Restore the 0.2 TLS verification behavior. #233
cc @armon -- I'd probably like to write more tests before merging this, but can you ACK that this looks like the right track to you before I do so?
Namely, don't check the DNS names in TLS certificates when connecting to
As of golang 1.3, crypto/tls no longer natively supports doing partial
If the "server_name" configuration option is passed, we preserve the
No option is provided to retain the current behavior of checking the
@armon Thanks! I think these are the tests I wanted, so I'm now happy with this.