Fix reading large-ish amounts of OPAQUE WBXML data.

This fixes issues with sending attachments when using EAS versions 14+
(using the WBXML version of the SENDMAIL command).