Make cast and call private methods of the client

Encourage client users to create subclasses with
methods for the remote API to make enforcing the
method signature easier.

Change-Id: If544ebb4e290a118fe48a204aacd9acae9af3d0c
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>