node: fix --connect option; always keep an array internally