if you perceive that the octet rule holds for sulphur, then it should form 2 bonds (2 single or 1 double bond). However, sulphur is in period 3, thus the octet rule does not hold.
In fact, the maximum number of electrons in a given shell is 2n2. When n=2, the max number of electron is 8. This is the basis of the octet rule. However, when n=3, the max number of electron is 18.
This means sulphur is capable of accepting electrons to form bonds. You may visualise SO42- as SO3 accepting an electron pair from O2-. However, the electrons are free to re-distribute themselves among the S-O bonds.