CMP app and app_http_tls_cb(): pick the right TLS hostname (also without port)