configure socket io