anchor.diff:    EncdDecd,  {$IFNDEF VER260} System.NetEncoding, {$ENDIF}
     IdMultipartFormData, IdHeaderList, IdCustomHTTPServer, IdHTTPServer,
     IdTCPServer, IdContext, IdSSLOpenSSL, IdHTTP, FHIR.Support.Mime, IdCookie,
  -  IdZLibCompressorBase, IdCompressorZLib, IdZLib, IdSSLOpenSSLHeaders,
  +  IdZLibCompressorBase, IdCompressorZLib, IdZLib, IdSSLOpenSSLHeaders, IdSchedulerOfThreadPool,
     IdGlobalProtocols, FHIR.Web.Socket,
   
     FHIR.Support.System, FHIR.Support.DateTime, FHIR.Support.Binary, FHIR.Support.Strings,
  
positive.code:   if FActualPort > 0 then
    begin
      FPlainServer := TIdHTTPServer.Create(Nil);
      FPlainServer.ServerSoftware := 'Health Intersections FHIR Server';
      FPlainServer.ParseParams := false;
      FPlainServer.DefaultPort := FActualPort;
  
negative.code:   if FSSLServer <> nil then
    begin
      FSSLServer.active := false;
      FSSLServer.Scheduler.Free;
      FreeAndNil(FSSLServer);
      FreeAndNil(FIOHandler);
      UnloadEAYExtensions;
    end;
    if FPlainServer <> nil then
    begin
      FPlainServer.Scheduler.Free;
      FPlainServer.active := false;
      FreeAndNil(FPlainServer);
    end;
  