modified to use proxycertificate instead of username/password
cleanned up some version info and code sequences