@Override
        public String chooseAlias(Map<String, PrivateKeyDetails> aliases, Socket socket) {
            for (String k : aliases.keySet()) {
              if (keyAliases.contains(k)) {
                  return k;
              }
            }
            return null;
        }
Allows any hostname.

@author Marc Savy <msavy@redhat.com>
gateway/platforms/servlet/src/main/java/io/apiman/gateway/platforms/servlet/connectors/ssl/SSLSessionStrategyFactory.java