allow analyze method to accept a URL as a string,  check if valid URI