feat(config): add support for trusted proxy networks and headers (#1680)