[PATCH v2 1/6] server: Move find_pointer_from_id() up.