Revert "Add SMS Middleware layer."

This reverts commit 14ca5b0e70728cd2c15e40ffbb29c599cf49cc55.