HBX-1225 Move the proxy check into Cfg2JavaTool so that it is used when generating parameter lists as well