Democratic presidential candidate booed for saying socialism is not the answer