Commit Briefs
move the buffering from the fastcgi layer to the template (main)
Reduces the indirection in fcgi.c, starts to make the struct template opaque, simplifies the template usage. All with a net negative :-) reads fine to stsp@ (thanks!)
properly initialize the `lang' buffer
otherwise we end up using stack garbage when the gemini server doesn't send a `lang' attribute. Problem reported by Javier Bravo, thanks!
guard against a missing SERVER_NAME
technically should always be sent; in practice don't crash if it's not set.
links: use URL if label is made only of blanks
thanks cage for unknowingly making me realize this edge case.
allow to speak "TLS-less Gemini"
useful for e.g. to save some CPU cycles when the Gemini server is sitting on the same box as Galileo; disabled by default.