check

fun Proxy.check(success: (Proxy) -> Unit, failure: (Throwable) -> Unit): Result<Unit>

Checks if a proxy is valid and can be used for Minecraft. This will use network resources to check the proxy, as well as update the ip information of the proxy.