private void setDebugInfo(boolean debug, ScoreResponse ret) {
		if (debug){
			// Do whatever you want here; this is just a sample
			System.out.println("Enabling debug instrumentation");
			Map<String, String> params = new HashMap<String, String>();
						
			Map<String, Cookie> reqCookies = headers.getCookies();
			for (String key : reqCookies.keySet()) {
				params.put(key, reqCookies.get(key).toString());
			}
			
			MultivaluedMap<String, String> reqHeaders = headers.getRequestHeaders();
			for (String key : reqHeaders.keySet()) {
				params.put(key, reqHeaders.getFirst(key)); // TODO: get all params not the first one alone

			}
			ret.setDebugInfo(params);
		}
	}