Fixed sendAsBinary() method for Chrome (and possibly others) - thanks to scratchresistor.