Use esm_class field in SMPP PDUs to check for delivery reports

According to section 5.2.12 of the SMPP 3.4 spec, we can use the middle four bits of the `esm_class` field to determine the message type and improve our delivery report detection accuracy.
Will do. (And in other relevant docstrings as well.)