Generic loop of links detection (http, https, & ftp...)

+ FTP protocol is added in links detection
+ Generic loop instead of if / if...else statements