Fixed the socket server

Chat works again