Change emit 'message' interface

Patch emit 'message' into: {
  type: 'message',
  data: message
}
to fatch faye-websocket package.