The point of this patch was to add MMS support, not rewrite all of how SMS is sent. This should be a separate bug. Had I known I could rewrite all of this, I would have changed A LOT more.