Uses URL class to check if location is path or full url
Extends logic how protocol part of url is extracted
Reverts returned values to match logic and checks if protocol is not null
Merge branch 'develop' into feature/WW-4187-correctly-identify-protocols
WW-4187 finshes work: protocols are identified based on URL class