logger.log(Level.FINE, "Responding to message with responseString: " + responseStr);
Response response = MessageFactory.toResponse(responseStr);
if (response instanceof FolderResponse) {
FolderResponse folderResponse = (FolderResponse) response;
command.printResults(folderResponse.getResult());
return 0;
}
else if (response instanceof AlreadySyncingResponse) {
out.println("Daemon is already syncing, please retry later.");