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)
Merge pull request #236 from nico159/master

Use string_ref compare method instead of an undefined equality operator between string_ref and char*