Add a wsgi middleware for handling https behind a reverse proxy.

The HTTP header X-Scheme can be set for override the scheme use by
jormungandr

Commits are pretty clean, you can review each one of them individually if you want :p