Add comment about X-Forwarded-Proto mapping
Set "Connection: upgrade" when we receive an "Upgrade" header

Fixes #37
Move settings that don't differ per container to the top level
Raise proxy_buffering statement to http level
Make template more readable

* $value -> $container
Support paths with VIRTUAL_PATH

* Require `dict` and `sha1` function support in docker-gen