Add support for configuring RemoteIpValve’s internalProxies

Closes gh-1522