Use gevent if available for target URL validation