India spin a web around Proteas after Samson’s ton set solid platform