mo/template: support comments; mo/network: support xhrFields, headers