Add SMS Middleware layer.

Change-Id: If5621d0c5126d6917ab00143af645692f3c4a384