(PUP-576) Handle Ruby 2.0 OpenSSL lib error message
The error message returned by Ruby's OpenSSL library when the host name
does not match the server certificate changes between 1.8, 1.9 and 2.x.
We handle this message and re-wrap it in a more informative form, but
were failing to catch the 2.x variation.
1.8: 'hostname was not match with the server certificate'
1.9: "hostname does not match the server certificate"
2.x: "hostname \"#{hostname}\" does not match the server certificate"
(2.0 and 2.1 as of the time of this commit)
This change just alters the regex to catch all three variants.