Use java built-in proxy handling?