added ssl support + upgrade asp.net mvc 4

Hi, 

You will find in this pull request a fix to handle properly SSL requests and an upgrade to ASP.Net MVC 4.

Have a nice day,
Olivier