Functionize daemonization
Add daemon mode to jubaproxy