Updated rest-client to work with the latest modifications to the servers and made some minor fixes in the servers.