Make it possible to bind HTTP server to a configured address

+ some other fixes