Added rough mirror checking into get-dependency.php

Added rough mirror checking into get-dependency.php with using of

    $success = @file_get_contents($mirror, false, $ctx_goodhttp, -1, 1) !== FALSE;

If we can successfully read one byte of the desired file, mirror is considered to be "good".