support url-cookie c; simplify global_format, global_context logic
support url-cookies (WIP)
repair download links
insert url-cookies in internal urls
remove broken and deprecated download_link()
convenctions.txt: document global conventions