TemplateHandler: allow subclasses to override response headers

for snarfed/bridgy#115