Merge upstream changes from CE 1.9, do not log error message if sendHeaders called with no new headers.