Fix wrong headset detection status in initial phase
Fix length calculation error on user data message
Fix SMS display issue by merging patch(partially) from Bug 811538