fix(Edit) change patch condition
fix(main) set Header only if it was not sent
fix(server) combine: write error to pipe if headers sent