Merge pull request #725 from cspurk/master

fix error with X-Forwarded-For headers with multiple IP addresses