set headers written by writeHead before emitting 'header'. closes #683
update history.md and package.json for 2.10
2.10.0