/// <summary>
 /// Initializes a new instance of the <see cref="ClientConnectionDetails"/> class.
 /// </summary>
 /// <param name="ipEndPoint">The IP Endpoint.</param>
 /// <param name="encoding">The encoding. default is ASCII.</param>
 /// <param name="reconnectionDetails">Reconnection behavior related properties.</param>
 /// <param name="clientSecurityDetails">Specifies optional, additional security details (server auth and mutual auth).</param>
 public ClientConnectionDetails(IPEndPoint ipEndPoint, Encoding encoding = null, ReconnectionDetails reconnectionDetails = null, ClientSecurityDetails clientSecurityDetails = null)
     : this(ipEndPoint.Address.ToString(), ipEndPoint.Port, encoding, reconnectionDetails, clientSecurityDetails)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ClientConnectionDetails"/> class.
 /// </summary>
 /// <param name="address">The address.</param>
 /// <param name="port">The port.</param>
 /// <param name="encoding">The encoding. default is ASCII.</param>
 /// <param name="reconnectionDetails">Reconnection behavior related properties.</param>
 /// <param name="clientSecurityDetails">Specifies optional, additional security details (server auth and mutual auth).</param>
 public ClientConnectionDetails(string address, int port, Encoding encoding = null, ReconnectionDetails reconnectionDetails = null, ClientSecurityDetails clientSecurityDetails = null)
 {
     this.Address             = address;
     this.Port                = port;
     this.Encoding            = encoding ?? Encoding.ASCII;
     this.ReconnectionDetails = reconnectionDetails ?? new ReconnectionDetails();
     this.SecurityDetails     = clientSecurityDetails;
 }