Move self.proxy decision logic out of init and into a helper

This logic represented a sizeable chunk of logic in the main init()
method. This commit moves it out into a more meaningful helper
function.
Merge pull request #1191 from FredKSchott/proxy-helper

Move self.proxy decision logic out of init and into a helper