get socket namespace to work