Fix setNameservers method in Network to avoid error in import interfaces

@javierag suggest to forward this to 3.2 too @jacalvo