[PATCH] sms_queue, smpp: Refactor MO SUBMIT code to make further changes easier.