require rest-client in Client

Fixes #1201

RestClient is not available if you use Client directly without CLI/