message: clean chunks and header array in _onError
  As _onEnd will only be called if no error happened, there is need to clean chunks and headers in _onError as well.
diff: @@ -864,6 +864,11 @@ Curl.prototype._onHeader = function(chunk /*, size, nmemb*/) {
  Curl.prototype._onError = function(err, errCode) {
  this._isRunning = false;
  + this._chunks = [];
  + this._headerChunks = [];
  + this._chunksLength = 0;
  + this._headerChunksLength = 0;
  +
  /**
  * Error event
  *
  