#JC-1833: Added client resource exhausting. Restlet framework updated to version 2.2.0