Added support for cancel_sm and query_sm SMPP messages

Tested against our SMPP gateway provider; no obvious errors returned, but they also don't support these two commands.