handle X-Forwarded-For headers
Merge pull request #13 from ndeloof/master

handle X-Forwarded-For headers