[openssl] Add tests for hostname wildcards