Fix rate limit behaviour for proxied connections.
Send user agent and remote IP address to data mappers.