Add netns option to --net switch

Implements #7455