- replace preg_match with ctype_digit where possible
- add an option to the bodystruct response to return a flat list of part
  numbers and MIME type/subtypes