Add improvements to allow to specify bind interface, more configuration properties, hosts resolving