Fixed issue https://github.com/restlet/restlet-framework-java/issues/831