Use submit_form_locally
catch TypeError when openrosa_headers is None
Merge pull request #3262 from dimagi/secure-sms-submission-fix

Secure sms submission fix