Ensure httpDone is not emitted when httpError occurs in Chrome.

References #218