adding socket io support for clients