networking: workaround for instance modification problem in shell

lmishell doesn't handle in-place editing of array parameters properly,
we need to create new arrays and then copy them back
Merge pull request #126 from rnovacek/master

networking: workaround for instance modification problem in shell