Commit Briefs
simplify cert sorting
No need to overly-optimize this: since mergesort() is not standard and can fail, just use qsort().
first draft of client certificate support
At the moment telescope loads a mapping host:port/path -> certificate from a file and always uses it, no ways to change it, use a temporary one, generate a new one, etc are provided yet. The format of ~/.telescope/certs/certs is host port path certificate file name where the certificate file name is the name of a file inside ~/.telescope/certs. ~/.telescope/certs/ is ~/.local/share/telescope/ when using XDG.
make cmd_home more robust
look exactly for /~user/, not just for a tilde that happens to be inside the path like~this.
remove imsg_borrow_str
it's redundant due to ibuf_borrow_str()