First cut at handling multiple proxy servers
Parameterised handler function for proxy so we don't need a dupe for SSL
Parameterised listener port, coalesced imports (seems to be better style)
Renamed doHTTPProxy to doProxy as it's now generic.
Start a do-nothing HTTPS listener on the appropriate port