fixed hosts lookup to use /proc/self/exe instead of cwd
Merge branch 'reorganize' of github.com:XIA-Project/xia-core into reorganize