Client gem

Bits to add support as a gem.