first steps to enable use of proxy that requires authentication

not finished!