added --insecure option, and support for URIs/links.