Adjust the default trusted_proxies to only include localhost
And also allow other trusted proxies to be added from the config.yml.
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3538
Omnibus config: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/1208