n-tier proxy tree for nodejs