updated for use with proxy without user/password