Check Reverse proxy on Mac and Linux with one command

curl -x IP:PORT -U USERNAME:PASSWORD ifconfig.io/ip

Return will be the proxy IP address