Set socket io settings.