simplify socket naming. todo: test on windows