Moved X-Forwarded-For and Socket Reuse settings into default values and added tests.