Changed connection of socketio client