Merge FFAP's URI-detection code into thingatpt.el.