Use string_ref compare method for checking uri scheme

This involve some overhead (implicit conversations from char* to string, and from string to string_ref)