```
String query = new URI(rawMessageHref).getQuery();
if (query == null) {
  return null;
}
Multimap<String, String> queryParams = queryParser().apply(query);
return getOnlyElement(queryParams.get("claim_id"), null);
```
or something like that?