title: Adding Cordova/Phonegap plugins behind a proxy
body: <p>I've successfully installed Cordova (clean install, under Windows), and I'm able to deploy a small app to Android, but unable to add any plugins behind my company's proxy. I've already tried setting every possible npm and git variable I could think of via:</p>
  
  <pre><code>npm config set proxy url:port
  npm config set http-proxy url:port
  npm config set https-proxy url:port
  </code></pre>
  
  <p>(replaced url:port with the actual proxy) and</p>
  
  <pre><code>git config --system --add http.proxy url:port
  git config --global --add http.proxy url:port
  </code></pre>
  
  <p>but to no avail.</p>
  
  <p>Every time I run something as simple as</p>
  
  <pre><code>cordova plugin add org.apache.cordova.splashscreen
  </code></pre>
  
  <p>I get the following:</p>
  
  <pre><code>Fetching plugin "org.apache.cordova.splashscreen" via plugin registry
  Error: Fetching plugin failed: Error: read ECONNRESET
  at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\src\plugin.js:105:41
  at _rejected  (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:808:24)
  at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:834:30
  at Promise.when (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:1079:31)
  at Promise.promise.promiseDispatch (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:752:41)
  at C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:574:44
  at flush (C:\Users\x\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.js:108:17)
  at process._tickCallback (node.js:415:13)
  </code></pre>
  
  <p>Any help would be much appreciated!</p>