modified:   lib/client.js