added proxy username/password support