WebSocket connection to 'ws://localhost:8000/' failed: Could not decode a text frame as UTF-8.
exports.install = function(framework, name) {
framework.websocket('/', socket_handler, ['json']);
};
var mycallback = function(event) {
console.log(decodeURIComponent(event.data));
};