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

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