Move socket connection logic into child process. #3459
Merge remote branch 'upstream/network_namespaces' into network_namespaces