Using more robust scheme/path checking instead of NSURL