Use type ^string for path in `match-protocol` method for cljs