RESTClient tweaks & tests.