title: Symfony2: getScheme does not return 'https'
body: <p>From within a controller, I have been using the method getSchemeAndHttpHost in order to build the url of another controller.</p>
  
  <p>Everything has been running smoothly, until I needed to go over https. All urls that I get with the getSchemeAndHttpHost function are still http. Doing some troubleshooting, it came out that the getScheme function always returns http, both when I request the page with https and with http.</p>
  
  <p>Did I miss something ?</p>
  
  <p>How can I know if I am over http or https from my controller ?</p>
  
  <p><strong>Edit - some more information</strong></p>
  
  <ol>
  <li>I made sure to run the tests with a valid certificate.</li>
  <li>If I run the isSecure method in my Request object, I always get false.</li>
  </ol>