Changes in RestClient to allow InputStream bodies.

Changes in RestClient to allow InputStream bodies.