Why is "ß" often called "es zet" in German?

I know that today this sign is a ligature for "ss". But, in ancient times,
was it also a ligature for "sz"? Or was it *only* a ligature for "sz"?

Where can I find a history of this sign, on-line or on paper?

Thanks in advance.