I am trying for aws-appsync connection from vanilla javascript. The connection is established and message is received - data: "{"type":"ka"}".