Ban and Agent panel whitelist IP address check

The list of banned IP addresses or the list of allowed IP addresses from the agent panel IP whitelist is compared with HTTP header X-Forwarded-For if this header has been received. This is to allow for setups when the LiveAgent server is behind a proxy server.

If  X-Forwarded-For has not been received, the remote host IP address is evaluated.