Fix the syntax used for setting the proxy headers
Fix the syntax used for setting the proxy headers so they adjust the underscore to be a hyphen for the top level chef attributes.
Added some tests to cover the bugs as well.
Fixes: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1529