Generic loop of URL detection (http, https, & ftp)