Merge pull request #9317 from asutherland/email-tcp-fix

Bug 863664 - [email] Use ArrayBuffer instead of Uint8Array. rs=squib(cherry picked from commit 00fdfe06eecd1ac37a3abcf39cea2bb05cba359a)