X.509: Add parsing of alternative name to internal TLS implementation