phantom.setProxy('IP', 'port', 'manual', '', '');
Try this? The last 2 parameters are username and password, if the proxy you use requires credentials.