title: Fake or force local https: in window.location.protocol
body: <p>I use Meteor.js and compile my app via Cordova. For payment I use Braintree.</p>
  
  <p>Braintree expects <code>window.location.protocol</code> to be "https:". However, when I compile with cordova the location is:  <a href="http://meteor.local/" rel="nofollow">http://meteor.local/</a> and so the protocol "http:".</p>
  
  <p>Is there any way to fake <code>window.location.protocol</code> locally to be "https:"?</p>