Fixed hostname matching for OpenSSL (thanks to ElmüSoft).