Working on multi-host and multi-node proxy functionality; commiting for backup purposes, do not try to compile (will crash on nodes.c)