Updated client Sockets module to include io connection