/// <summary>
 /// Adds or replaces additional header sent via this connection with next request.
 /// </summary>
 public void AddHeader(string name, string value)
 {
     _httpConnection.AddHeader(name, value);
     if (_httpLongPollingConnection != null)
     {
         _httpLongPollingConnection.AddHeader(name, value);
     }
 }