code: @Nullable
    public ServerServiceDefinition addService(ServerServiceDefinition service) {
      return services.put(service.getServiceDescriptor().getName(), service);
    }
docs: Registers a service.
  
  @return the previously registered service with the same service descriptor name if exists,
  otherwise {@code null}.