HTML5 FileAPI adds XHR.sendAsBinary(), but WebSockets API lacks a binary option. Something is wrong with this picture.
(I think @mmastracci said this before) Somebody really needs to go through this stuff, along with the WebGL and WebSockets APIs, and normalize all the weird methods for handling binary streams. It all smells kind of like java.nio, but for some reason everyone keeps wandering along in their own little worlds. - Joel Webber