client: fixup handle_caps