check url for protocol