- Check for blank image file extension and replace with mime subtype to get around new filetype checking in WordPress 4.7.2 https://core.trac.wordpress.org/ticket/39550
- Additional logging of message and part headers
- Fix base64 header decoding so trailing space isn’t removed
- Fix header decoding to remove extra utf-8 byte order mark
- Add current WordPress time to logging