lib/Client.js