OS X 10.11 and up include nscurl, which is a simplified curl-like utility that uses the platform APIs for network transfer. I would expect it to support proxies as well as any OS X app, although it doesn't have all the features of full curl
nscurl
curl