added socket for client and server. fixed permissions toggling bug. prevent project auto attach / compile.