Added smotnt::ensure_relative_url