Check uri scheme equality using compare

Use string_ref compare method instead of an undefined equality operator between sting_ref and char*

This involve some overhead (implicit conversations from char* to string, and from string to string_ref)