why it is called detect uri scheme when it doesn't detect jsut return protocol part of URI?