Retrieves the protocol used by the url. The url can either be absolute or relative.
The url to retrieve the protocol from.
The protocol (http:, https:, file:, ftp: ...)
Retrieves the protocol used by the url. The url can either be absolute or relative.