How To Check Proxy with CURL

http://superuser.com/questions/303251/how-to-check-if-a-socks5-proxy-works