Fix socket server