socket connection to namespace