Revert "Refactor SMS Middleware and SMS Send path."

This reverts commit af06916efaf041b02df3233b2bf8eeac62d93ae8.