Add JsonRPC::setOutputStream to public API.