Whitelisted X-Forwarded-For header support

This commit adds support for the X-Forwarded-For HTTP header. It's useful when you want to run ZNC behind a proxy.

The header is ignored unless the proxy is whitelisted using the AllowProxy setting in the main config file. AllowProxy accepts a full IP address or a wildcard.