The leader of Portugal's ruling Socialist Party, Jose Socrates, has announced that he support gay marriage.