update socket.io V1.x emit();

socket.io json data structure is `{ "name" : eventName, "args" : [ ... ]};

The data of webpacket payload of socket.io module is json structure like next.
PayloadType:ID:EndPoint:{"name" : eventName, "args" : [ ... ]}

Therefore, `emit` function of Version1X class will be thought better than before.
it's `json_encode`, not `json_decode` (we want to send json encoded data, not the contrary !)

So it should be `json_encode(['name' => $event, 'args' => $args])`, if this is the syntax socket.io 1.0 (engine.io ?) is expecting.