Revert "Refactor SMS Middleware and SMS Send path."

This reverts commit 4ee47612ab78bf7927e6aadfaf4d379f41ddac36.