[WIP][3.8] Add trusted proxies configuration