code: func NewDevServiceWithTLSConfig(serviceName string, logger *log.Logger,
  	tlsCfg *tls.Config) (*Service, error) {
  	s := &Service{
  		service: serviceName,
  		logger:  logger,
  		tlsCfg:  newDynamicTLSConfig(tlsCfg, logger),
  	}
  	return s, nil
  }
docs: // NewDevServiceWithTLSConfig creates a Service using static TLS config passed.
  // It's mostly useful for testing.