Update SocketIO.m

Implemented to manage an array or a generic object