Add socket io connection