[minor] read ip from header HTTP_X_FORWARDED_FOR