pass the nats client in to the nats server