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).