gid: link detection, http[s] link detection