Split PulsarApi/Rest.Service() into PulsarApi and PulsarClient