title: Proxy in phantomjs
body: <p>I cant understand how to using proxies in phantomjs, i tried </p>
  
  <p>phantomjs example.js --proxy="ip:port"</p>
  
  <p>phantomjs example.js --proxy=ip:port</p>
  
  <p>phantomjs example.js --proxy=ip:port --proxy-type=http</p>
  
  <p>but i see only my ip=(</p>
  
  <p>No any output, also if proxy ip apriori invalid.</p>
  
  <p>example.js:
  </p>
  
  <pre><code>var page = require('webpage').create();
  page.onConsoleMessage = function(msg) {
      console.log(msg);
  };
  page.onLoadFinished = function(status){
      if (!status){
          console.log('fail');
          phantom.exit();
      }
      page.render("1.png");
      phantom.exit();
  };
  page.open("http://whoer.net/");
  </code></pre>
  
  <p>what obvious thing i forgot?
  Thanks.</p>