Fixed connection.on("message") event