provided option to use x-forwarded-for as remote address

settings fix

added tests for X-Forwarded-For header

Revert "settings fix"

This reverts commit d5ab86de1f9e3758520b265cefc5b651f134e16f.

Revert "provided option to use x-forwarded-for as remote address"

This reverts commit bcb5c97679df2ac41aba8a98c1b96838d37f155f.

logs X-Forwarded-For ip

Revert "added tests for X-Forwarded-For header"

This reverts commit 4134e179bf0abf1bc334dfb2cc2aea02cf7aae74.