Improves pattern to detect http / https / ftp urls