Checking if given server url is a valid server