/// <summary>
 /// Initialise the default HTTP client (via Web Dashboard).
 /// </summary>
 public void InitialiseDefaultHttpClient()
 {
     initialisers["http"] = (address, settings) =>
     {
         if (settings.BackwardsCompatable)
         {
             return new CruiseServerHttpClient(address);
         }
         else
         {
             IServerConnection connection = new HttpConnection(address);
             connection = BuildUpConnection(connection, settings);
             return new CruiseServerClient(connection);
         }
     };
 }
 /// <summary>
 /// Generates an instance of <see cref="CruiseServerClientBase"/> that connects via
 /// HTTP.
 /// </summary>
 /// <param name="address">The address of the server.</param>
 /// <param name="settings">The start-up settings to use.</param>
 /// <returns>A <see cref="CruiseServerClientBase"/> instance.</returns>
 public CruiseServerClientBase GenerateHttpClient(string address, ClientStartUpSettings settings)
 {
     var client = clients.ContainsKey(address) ?
         clients[address] :
         null;
     if (client == null)
     {
         if (settings.BackwardsCompatable)
         {
             client = new CruiseServerHttpClient(address);
         }
         else
         {
             IServerConnection connection = new HttpConnection(address);
             connection = BuildUpConnection(connection, settings);
             client = new CruiseServerClient(connection);
         }
         if (UseClientCaching) clients.Add(address, client);
     }
     return client;
 }