Merge "Fix connect on a network id with zero"