[PATCH 6/6] server: Return client thread object pointer from get_next_device_request if available.