Add X-headers

Let tornado get the scheme from X-Forwarded-Proto. Without that, the SERVER parameter is set (line #102)  with the scheme of the httpserver (http) and not the scheme used by a proxyserver (https).
Merge pull request #51 from mrijken/patch-2

Add X-headers