Make redirect http host configurable in settings
Put log4j2.xml into classpath to be properly found
Fix http params parsing