In PHP is there a reliable way to determine if a remote file exists?