Stripped custom logic/protocol identification to rely entirely on esc_url_raw().