Added proxy support by migrating to the requests module.