fix problems with proxy handling. Change method name to a  meaningful on...

...e