improving what we get if no proxy is defined. noticed this in relation to issue #23