Socialism, history and the defense of democratic rights