Checking URLS before connecting with EZproxy