feat: add support for trusted proxies config
Workhorse needs to know which proxies to filter from the
X-Forwarded-For header to retrieve the actual client IP.
This implementation mimics the Rails implementation.
Relates to gitlab#325078 (closed)
Edited by Stan Hu