server sock fix