* fixed check for proxy availability