/// <summary>
 /// Constructs an ConnectionException with the specified Response.
 /// </summary>
 /// <param name="p">the Protocol object</param>
 /// <param name="r">the Response</param>
 public ConnectionException(Protocol p, Response r) : base(r)
 {
     this.p = p;
 }