rename socket_id to server_socket_idx