Move the functionality of sending content response into WebSocketTransport so that user's closure is simpler.
diff --git a/js/encoding/DataUtils.js b/js/encoding/DataUtils.js
index b9728d0..b80ce36 100644
--- a/js/encoding/DataUtils.js
+++ b/js/encoding/DataUtils.js
@@ -276,7 +276,7 @@
/**
* Raw String to Uint8Array.
*/
-DataUtils.toNumbersFromString = function( str ){
+DataUtils.toNumbersFromString = function(str) {
var bytes = new Uint8Array(str.length);
for(var i=0;i<str.length;i++)
bytes[i] = str.charCodeAt(i);