Synchronous str2ab and ab2str for chrome transport

http://updates.html5rocks.com/2012/06/How-to-convert-ArrayBuffer-to-and-
from-String