Updated changes for renamed method
Fixed a bug where send() in plugins did not work
Fixed a bug where the http-headers plugin would fail if theres no documentHTML
Fixed bugs associated with change of send() semantics